<div ng-controller="communitycirclearticlecommentreplyment as gcr">
	<section class="content-header">
	<h1>
		{{title}}<small></small>
	</h1>
</section>
<section class="content">
	<div class="box box-default">
		<div class="col-md-12">
			<div class="box-body" >
				<alertdanger></alertdanger>
				<alertsuccess></alertsuccess>
				<form role="form">
					<div class="box-body">
					<div class="active tab-pane">
					<!-- Post -->
					<div class="post">
							<!--<div ng-if="commentdetail.headpath!=null&&commentdetail.headpath!==''" class="user-block" >-->
								<!--<img class="img-circle img-bordered-sm" ng-src="{{commentdetail.headpath}}" alt="user image">-->
							<!--</div>-->
						<div class="user-block" >
							<img class="img-circle img-bordered-sm" ng-src="ui/dist/img/user2-160x160.jpg" alt="user image">
							<span class='username'>
                          		<a>{{commentdetail.replyorcommentmembername}}</a>
                        	</span>
							<span class='description'>时间:{{commentdetail.createtime | date:'yyyy-MM-dd HH:mm:ss'}}</span>
						</div><!-- /.user-block -->

						<p>
							{{commentdetail.commentcontent}}
						</p>
						<ul class="list-inline">
							<li><a  class="link-black text-sm"><i class="fa fa-thumbs-o-up margin-r-5"></i>赞({{commentdetail.zan}})</a></li>
							<li><a  class="link-black text-sm"><i class="fa fa-share margin-r-5"></i>踩({{commentdetail.cai}})</a></li>
							<li class="pull-right"><a class="link-black text-sm"><i class="fa fa-comments-o margin-r-5"></i> ({{commentsize}} 个回复)</a></li>
						</ul>

						<div class='form-group margin-bottom-none'>
							<div class='col-sm-6'>
								<input class="form-control input-sm" ng-model="commentcontent" placeholder="请输入回复内容">
							</div>
							<div class='col-sm-2'>
								<button class='btn btn-danger pull-right btn-block btn-sm' ng-click="replyComment();">发送</button>
							</div>
							<div class='col-sm-2'>
								<button class='btn btn-success pull-right btn-block btn-sm' ng-click="reviewComment('1');">通过</button>
							</div>
							<div class='col-sm-2'>
								<button class='btn btn-warning pull-right btn-block btn-sm' ng-click="reviewComment('2');">驳回</button>
							</div>
						</div>

					</div><!-- /.post -->
					</div>
					</div>
				</form>
				<form role="form">
					<div class="box-body">
					<!-- Post -->
					<div class="post clearfix" ng-repeat="r in replys">
						<div class='user-block'>
							<img class='img-circle img-bordered-sm' src='ui/dist/img/user2-160x160.jpg' alt='user image'>
                        <span class='username'>
                          <a>{{r.replyorcommentmembername}}</a>
                        </span>
							<span class='description'>时间:{{r.createtime | date:'yyyy-MM-dd HH:mm:ss'}}</span>
						</div><!-- /.user-block -->
						<p>
							{{r.title}}
						</p>
						<p>
							{{r.commentcontent}}
						</p>
						<ul class="list-inline">
							<li><a  class="link-black text-sm"><i class="fa fa-thumbs-o-up margin-r-5"></i>赞({{r.zan}})</a></li>
							<li><a  class="link-black text-sm"><i class="fa fa-share margin-r-5"></i>踩({{r.cai}})</a></li>
								</ul>
					</div><!-- /.post -->
					</div>
				</form>
			</div>

		</div>
		<div class="box-footer"></div>
	</div>
</section>
</div>
